package com.ruoyi.shenji.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.shenji.domain.SysBhq;
import com.ruoyi.shenji.mapper.SysBhqMapper;
import com.ruoyi.shenji.service.SysBhqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysBhqServiceImpl extends ServiceImpl<SysBhqMapper, SysBhq> implements SysBhqService {
    @Autowired
    private SysBhqMapper sysBhqMapper;
    @Override
    public SysBhq getByRoleName(String roleKey) {
        return sysBhqMapper.getByRoleName(roleKey);
    }
}
